package com.varian.system.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author ben
 * @since 2024/8/12
 */
@Data
@Schema(title = "用户信息视图对象")
public class SysUserProfileVO {
    @Schema(title = "用户ID")
    private Long id;
    @Schema(title = "部门id")
    private Long deptId;
    @Schema(title = "部门名称")
    private String deptName;
    @Schema(title = "用户名")
    private String username;
    @Schema(title = "用户昵称")
    private String nickname;
    @Schema(title = "用户头像")
    private String avatar;
    @Schema(title = "角色")
    private List<String> roleNames;
    @Schema(title = "最后登录时间")
    private LocalDateTime lastLoginTime;
    @Schema(title = "最后登录ip")
    private String lastLoginIp;
}
